class ClientDocument < ActiveRecord::Base
  attr_accessible :client_id, :document_id, :status,:attachment_file_name,:attachment_content_type,:attachment_file_size,:attachment_updated_at
  belongs_to :clients
  belongs_to :documents
 	has_attached_file :attachment,
    :url => "/system/:class/:attachment/:id/:style/:basename.:extension",
     :path => ":rails_root/public/system/:class/:attachment/:id/:style/:basename.:extension"
end
